﻿namespace Devonline.Core
{
    public interface IAuthEndpoint : IEndpoint
    {
        /// <summary>
        /// authorization type
        /// </summary>
        AuthType AuthType { get; set; }
        /// <summary>
        /// user name
        /// </summary>
        string? UserName { get; set; }
        /// <summary>
        /// password
        /// </summary>
        string? Password { get; set; }
        /// <summary>
        /// app id
        /// </summary>
        string? AppId { get; set; }
        /// <summary>
        /// app secret
        /// </summary>
        string? AppSecret { get; set; }
        /// <summary>
        /// 访问令牌
        /// </summary>
        string? Token { get; set; }
        /// <summary>
        /// 所在域
        /// </summary>
        string? Domain { get; set; }
    }
}
